package com.slf4jtest;

public class FacadeLight {
    private Light bedroomLight=new BedroomLight();
    private Light kitchenLight=new KitchenLight();
    private Light livingRoomLight=new LivingRoomLight();

    public void on(){
        bedroomLight.on();
        kitchenLight.on();
        livingRoomLight.on();
    }

    public void off(){
        bedroomLight.off();
        kitchenLight.off();
        livingRoomLight.off();
    }


}
